package net.hn.hnms.biz.safety.wind.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author 智呈物联 nzw
 * @date 2022/12/19
 */

@Data
@Entity
@Table(name = "wind_window")
public class WindWindowEntity {

    @ApiModelProperty(value = "风量情况id")
    @Column(name = "wind_window_id")
    @TableId(value = "wind_window_id")
    @Id
    private Long id;

    @Column(name = "position_id")
    @ApiModelProperty(value = "设备安装位置")
    private Long positionId;

    @Column(name = "state")
    @ApiModelProperty(value = "状态")
    private String state;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private Long mineCode;

    @Column(name = "type")
    @ApiModelProperty(value = "风窗类型0-双风窗、1-单插板，2-双插板，3-百叶窗")
    private Long type;

    @Column(name = "video_channel_id")
    @ApiModelProperty(value = "视频通道id")
    private Long videoChannelId;
}
